package com.example.wlzz.enums;

import lombok.Getter;

@Getter
public enum MessageEnum {
    REPLYCOMMENT(100000,"属于评论类的消息即【关于我】->回复评论,下面两个是他的子分类"),
    COMMENT(10000,"主评论类消息"),
    SUBCOMMENT(10001,"子评论类消息"),
    LOVE(10010,"点赞类消息"),
    SUCCESS(10020,"websocket连接成功"),
    FAIL(10030,"websocket断线通知"),
    TASK_STATUS_MSG(10040,"任务状态改变的通知,有被接单，取消任务，完成任务。就只是通知类型而已"),
    CHAT_MSG(10050,"聊天的通知")
    ;
    private Integer code;
    private String message;
    MessageEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
